Namespace BEL.Servicio
	<Serializable()> _
	Public Class Servicio
		Implements System.IDisposable
#Region "Variables privadas"
		Private _co_servicio As System.Int32
		Private _tx_descripcion As System.String
		Private _ss_montopenalidad As System.Double
		Private _fl_reservable As System.Boolean
		Private _fl_tercerizable As System.Boolean
		Private _fl_activo As System.Boolean
		Private _TipoServicio As BEL.Servicio.TipoServicio
		Private _Recursos As List(Of BEL.Servicio.DetalleServicio)
		Private _EsNuevo As System.Boolean
#End Region
#Region "Constructor"
		Public Sub New()
			Me._co_servicio = 0
			Me._tx_descripcion = String.Empty
			Me._ss_montopenalidad = 0.0
			Me._fl_reservable = False
			Me._fl_tercerizable = False
			Me._fl_activo = True
			Me._TipoServicio = New BEL.Servicio.TipoServicio
			Me._Recursos = New List(Of BEL.Servicio.DetalleServicio)
		End Sub
#End Region
#Region "Propiedades"
		Public Property CO_SERVICIO() As System.Int32
			Get
				Return _co_servicio
			End Get
			Set(ByVal value As System.Int32)
				_co_servicio = value
			End Set
		End Property
		Public Property TX_DESCRIPCION() As System.String
			Get
				Return _tx_descripcion
			End Get
			Set(ByVal value As System.String)
				_tx_descripcion = value
			End Set
		End Property
		Public Property SS_MONTOPENALIDAD() As System.Double
			Get
				Return _ss_montopenalidad
			End Get
			Set(ByVal value As System.Double)
				_ss_montopenalidad = value
			End Set
		End Property
		Public Property FL_RESERVABLE() As System.Boolean
			Get
				Return _fl_reservable
			End Get
			Set(ByVal value As System.Boolean)
				_fl_reservable = value
			End Set
		End Property
		Public Property FL_TERCERIZABLE() As System.Boolean
			Get
				Return _fl_tercerizable
			End Get
			Set(ByVal value As System.Boolean)
				_fl_tercerizable = value
			End Set
		End Property
		Public Property FL_ACTIVO() As System.Boolean
			Get
				Return _fl_activo
			End Get
			Set(ByVal value As System.Boolean)
				_fl_activo = value
			End Set
		End Property
		Public Property TIPOSERVICIO() As BEL.Servicio.TipoServicio
			Get
				Return _TipoServicio
			End Get
			Set(ByVal value As BEL.Servicio.TipoServicio)
				_TipoServicio = value
			End Set
		End Property
		Public Property RECURSOS() As List(Of BEL.Servicio.DetalleServicio)
			Get
				Return _Recursos
			End Get
			Set(ByVal value As List(Of BEL.Servicio.DetalleServicio))
				_Recursos = value
			End Set
		End Property
#End Region
#Region "IDisposable Members"
		Public Sub Dispose() Implements IDisposable.Dispose
			GC.Collect()
		End Sub
#End Region
#Region "IGenerico Members"
		Public Property EsNuevo() As System.Boolean
			Get
				Return _EsNuevo
			End Get
			Set(ByVal value As System.Boolean)
				_EsNuevo = value
			End Set
		End Property
#End Region
	End Class
End Namespace